﻿using OT.Data;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace OT.Areas.Admin.Models
{
    public class States
    {
        public int StateID { get; set; }

        [Required, DisplayName("State Code")]
        public string StateCode { get; set; }

        [Required, DisplayName("State Name")]
        public string StateName { get; set; }

        [Required, DisplayName("Country Name")]
        public int CountryID { get; set; }

        [DisplayName("Country Name")]
        public string CountryName { get; set; }

        public ICollection<Country> Countrys { get; set; }

        public DateTime CreatedDate { get; set; }
        public DateTime UpdatedDate { get; set; }


    }
}